Optimal. Leaf size=60 \[ -\frac {3 b \tanh ^{-1}\left (\frac {\sqrt {a+\frac {b}{x}}}{\sqrt {a}}\right )}{a^{5/2}}+\frac {3 b}{a^2 \sqrt {a+\frac {b}{x}}}+\frac {x}{a \sqrt {a+\frac {b}{x}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 61, normalized size of antiderivative = 1.02, number of steps used = 5, number of rules used = 4, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.364, Rules used = {242, 51, 63, 208} \[ \frac {3 x \sqrt {a+\frac {b}{x}}}{a^2}-\frac {3 b \tanh ^{-1}\left (\frac {\sqrt {a+\frac {b}{x}}}{\sqrt {a}}\right )}{a^{5/2}}-\frac {2 x}{a \sqrt {a+\frac {b}{x}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 51
Rule 63
Rule 208
Rule 242
Rubi steps
\begin {align*} \int \frac {1}{\left (a+\frac {b}{x}\right )^{3/2}} \, dx &=-\operatorname {Subst}\left (\int \frac {1}{x^2 (a+b x)^{3/2}} \, dx,x,\frac {1}{x}\right )\\ &=-\frac {2 x}{a \sqrt {a+\frac {b}{x}}}-\frac {3 \operatorname {Subst}\left (\int \frac {1}{x^2 \sqrt {a+b x}} \, dx,x,\frac {1}{x}\right )}{a}\\ &=-\frac {2 x}{a \sqrt {a+\frac {b}{x}}}+\frac {3 \sqrt {a+\frac {b}{x}} x}{a^2}+\frac {(3 b) \operatorname {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,\frac {1}{x}\right )}{2 a^2}\\ &=-\frac {2 x}{a \sqrt {a+\frac {b}{x}}}+\frac {3 \sqrt {a+\frac {b}{x}} x}{a^2}+\frac {3 \operatorname {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+\frac {b}{x}}\right )}{a^2}\\ &=-\frac {2 x}{a \sqrt {a+\frac {b}{x}}}+\frac {3 \sqrt {a+\frac {b}{x}} x}{a^2}-\frac {3 b \tanh ^{-1}\left (\frac {\sqrt {a+\frac {b}{x}}}{\sqrt {a}}\right )}{a^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.01, size = 36, normalized size = 0.60 \[ \frac {2 b \, _2F_1\left (-\frac {1}{2},2;\frac {1}{2};\frac {a+\frac {b}{x}}{a}\right )}{a^2 \sqrt {a+\frac {b}{x}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.77, size = 156, normalized size = 2.60 \[ \left [\frac {3 \, {\left (a b x + b^{2}\right )} \sqrt {a} \log \left (2 \, a x - 2 \, \sqrt {a} x \sqrt {\frac {a x + b}{x}} + b\right ) + 2 \, {\left (a^{2} x^{2} + 3 \, a b x\right )} \sqrt {\frac {a x + b}{x}}}{2 \, {\left (a^{4} x + a^{3} b\right )}}, \frac {3 \, {\left (a b x + b^{2}\right )} \sqrt {-a} \arctan \left (\frac {\sqrt {-a} \sqrt {\frac {a x + b}{x}}}{a}\right ) + {\left (a^{2} x^{2} + 3 \, a b x\right )} \sqrt {\frac {a x + b}{x}}}{a^{4} x + a^{3} b}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 86, normalized size = 1.43 \[ b {\left (\frac {3 \, \arctan \left (\frac {\sqrt {\frac {a x + b}{x}}}{\sqrt {-a}}\right )}{\sqrt {-a} a^{2}} + \frac {2 \, a - \frac {3 \, {\left (a x + b\right )}}{x}}{{\left (a \sqrt {\frac {a x + b}{x}} - \frac {{\left (a x + b\right )} \sqrt {\frac {a x + b}{x}}}{x}\right )} a^{2}}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.06, size = 198, normalized size = 3.30 \[ \frac {\sqrt {\frac {a x +b}{x}}\, \left (-3 a^{2} b \,x^{2} \ln \left (\frac {2 a x +b +2 \sqrt {\left (a x +b \right ) x}\, \sqrt {a}}{2 \sqrt {a}}\right )-6 a \,b^{2} x \ln \left (\frac {2 a x +b +2 \sqrt {\left (a x +b \right ) x}\, \sqrt {a}}{2 \sqrt {a}}\right )+6 \sqrt {\left (a x +b \right ) x}\, a^{\frac {5}{2}} x^{2}-3 b^{3} \ln \left (\frac {2 a x +b +2 \sqrt {\left (a x +b \right ) x}\, \sqrt {a}}{2 \sqrt {a}}\right )+12 \sqrt {\left (a x +b \right ) x}\, a^{\frac {3}{2}} b x +6 \sqrt {\left (a x +b \right ) x}\, \sqrt {a}\, b^{2}-4 \left (\left (a x +b \right ) x \right )^{\frac {3}{2}} a^{\frac {3}{2}}\right ) x}{2 \sqrt {\left (a x +b \right ) x}\, \left (a x +b \right )^{2} a^{\frac {5}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.18, size = 85, normalized size = 1.42 \[ \frac {3 \, {\left (a + \frac {b}{x}\right )} b - 2 \, a b}{{\left (a + \frac {b}{x}\right )}^{\frac {3}{2}} a^{2} - \sqrt {a + \frac {b}{x}} a^{3}} + \frac {3 \, b \log \left (\frac {\sqrt {a + \frac {b}{x}} - \sqrt {a}}{\sqrt {a + \frac {b}{x}} + \sqrt {a}}\right )}{2 \, a^{\frac {5}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.87, size = 34, normalized size = 0.57 \[ \frac {2\,x\,{\left (\frac {a\,x}{b}+1\right )}^{3/2}\,{{}}_2{\mathrm {F}}_1\left (\frac {3}{2},\frac {5}{2};\ \frac {7}{2};\ -\frac {a\,x}{b}\right )}{5\,{\left (a+\frac {b}{x}\right )}^{3/2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 4.79, size = 71, normalized size = 1.18 \[ \frac {x^{\frac {3}{2}}}{a \sqrt {b} \sqrt {\frac {a x}{b} + 1}} + \frac {3 \sqrt {b} \sqrt {x}}{a^{2} \sqrt {\frac {a x}{b} + 1}} - \frac {3 b \operatorname {asinh}{\left (\frac {\sqrt {a} \sqrt {x}}{\sqrt {b}} \right )}}{a^{\frac {5}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________